package cn.com.yusys.yusp.message.service;

import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

@Component
public class MessageTypeServiceHystrix implements  MessageTypeService {
    
	private final Logger log = LoggerFactory.getLogger(MessageTypeServiceHystrix.class);
	
	@Override
	@SuppressWarnings("rawtypes")
	public String sendRealTimeMessageWithOutTemplate(Map param) {
		log.error("Trigger timeout fuse");
		return "1";
	}

	@Override
	@SuppressWarnings("rawtypes")
	public String sendRealTimeMessageWithTemplate(Map param) {
		log.error("Trigger timeout fuse");
		return "1";
	}

	@Override
	@SuppressWarnings("rawtypes")
	public String sendSubscribeMessage(Map param) {
		log.error("Trigger timeout fuse");
		return "1";
	}

}
